home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt02.dir / 00024_Script_24 < prev    next >
Text File  |  1994-11-15  |  5KB  |  207 lines

  1. on startMovie
  2.   global inFrame, nowMovie, currMM
  3.   global dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT01"
  7.   set nextLT = "FLWLT03"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltear872000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   set ltQT = FALSE
  49.   puppetSprite 4, FALSE
  50.   set inFrame = ""
  51.   if the frame >= 13 then
  52.     
  53.     go to frame "ltear877001°°°" of movie nextLT
  54.   else
  55.     go to marker (+1)
  56.     updateStage
  57.   end if
  58. end ltForStep
  59.  
  60. on ltBackStep
  61.   global inFrame, prevLT, ltQT
  62.   puppetSprite 4, FALSE
  63.   set inFrame = ""
  64.   set ltQT = FALSE
  65.   if the frame < 5 then
  66.     
  67.     go to frame "ltear867005°°°" of movie prevLT
  68.   else
  69.     go to marker (-1)
  70.     updateStage
  71.   end if
  72. end ltBackStep
  73.  
  74. on checkNav
  75.   if rollover(12) then
  76.     set the castNum of sprite 12 to the number of cast "leftUp"
  77.   else
  78.     set the castNum of sprite 12 to the number of cast "leftRt"
  79.   end if
  80.   
  81.   if rollover(11) then
  82.     set the castNum of sprite 11 to the number of cast "rightUp"
  83.   else
  84.     set the castNum of sprite 11 to the number of cast "rightRt"
  85.   end if
  86.   cursor -1
  87.   updateStage
  88. end checkNav
  89.  
  90. on buttonState
  91.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  92.   
  93.   if dialogOn = FALSE then
  94.     
  95.     --sticking local call here for convenience
  96.     worldLite
  97.     if the mouseV > 200 or bFlag = TRUE then
  98.       set bFlag = FALSE
  99.       doState
  100.     end if
  101.   end if
  102. end buttonState
  103.  
  104. on scrollRight
  105.   if the clickon = 11 then
  106.     sound stop 1
  107.     startTimer
  108.     repeat while the timer < 2
  109.       set the castNum of sprite 11 to the number of cast "rightDn"
  110.       updateStage
  111.     end repeat
  112.     timeRight
  113.     flush
  114.   end if   
  115. end scrollRight
  116.  
  117. on scrollLeft
  118.   if the clickon = 12 then
  119.     sound stop 1
  120.     startTimer
  121.     repeat while the timer < 2
  122.       set the castNum of sprite 12 to the number of cast "leftDn"
  123.       updateStage
  124.     end repeat
  125.     timeLeft
  126.     flush
  127.   end if  
  128. end scrollLeft
  129.  
  130. on timeLeft
  131.   global prevLt
  132.   puppetSprite 4, FALSE
  133.   
  134.   go to movie prevLT
  135. end timeLeft
  136.  
  137. on timeRight
  138.   global nextLt
  139.   puppetSprite 4, FALSE
  140.   
  141.   go to movie nextLT
  142. end timeRight
  143.  
  144. on worldLite
  145.   global currWorld, realWorld
  146.   set the castNum of sprite 9 to 2
  147.   if rollover(9) then
  148.     set the castNum of sprite 9 to 23
  149.   end if
  150. end worldLite
  151.  
  152. on rollVLB2
  153.   if the mouseH >168 and the mouseH < 249 and the mouseV > 75 and the mouseV < 195 then
  154.     set the castNum of sprite 4 to 6
  155.     if the mouseDown then 
  156.       set the castNum of sprite 4 to 3
  157.     end if
  158.   else if the mouseH > 241 and the mouseH < 338 and the mouseV > 134 and the mouseV < 215 then
  159.     set the castNum of sprite 4 to 7
  160.     if the mouseDown then 
  161.       set the castNum of sprite 4 to 3
  162.     end if
  163.   else if the mouseH > 340 and the mouseH < 435 and the mouseV > 75 and the mouseV < 160 then
  164.     set the castNum of sprite 4 to 8
  165.     if the mouseDown then 
  166.       set the castNum of sprite 4 to 3
  167.     end if
  168.   else if the mouseH > 431 and the mouseH < 526 and the mouseV > 137 and the mouseV < 225 then
  169.     set the castNum of sprite 4 to 9
  170.     if the mouseDown then 
  171.       set the castNum of sprite 4 to 3
  172.     end if
  173.   else if the mouseH > 522 and the mouseH < 618 and the mouseV > 83 and the mouseV < 170 then
  174.     set the castNum of sprite 4 to 10
  175.     if the mouseDown then 
  176.       set the castNum of sprite 4 to 3
  177.     end if
  178.   else 
  179.     set the castNum of sprite 4 to 3
  180.   end if
  181.   updateStage
  182. end rollVLB2
  183.  
  184. on jumpVLB2
  185.   sound stop 1
  186.   if the clickOn < 7 or the clickOn > 23 then
  187.     if the mouseH >168 and the mouseH < 249 and the mouseV > 75 and the mouseV < 195 then
  188.       puppetSprite 4, FALSE
  189.       go to frame "ltear872001°°°"
  190.     else if the mouseH > 241 and the mouseH < 338 and the mouseV > 134 and the mouseV < 215 then
  191.       puppetSprite 4, FALSE
  192.       go to frame "ltear872002°°°"
  193.     else if the mouseH > 340 and the mouseH < 435 and the mouseV > 75 and the mouseV < 160 then
  194.       puppetSprite 4, FALSE
  195.       go to frame "ltear872003°°°"
  196.     else if the mouseH > 431 and the mouseH < 526 and the mouseV > 137 and the mouseV < 225 then
  197.       puppetSprite 4, FALSE
  198.       go to frame "ltear872004°°°"
  199.     else if the mouseH > 522 and the mouseH < 618 and the mouseV > 83 and the mouseV < 170 then
  200.       puppetSprite 4, FALSE
  201.       go to frame "ltear872005°°°"
  202.     else 
  203.       nothing
  204.     end if
  205.   end if
  206.   flush
  207. end jumpVLB2